package com.allenkerr.service;

import java.util.List;

import com.allenkerr.model.Todo;
import com.allenkerr.vo.Result;

/**
 * Created by 小柯 on 2017/10/16.
 */
public interface TodoService {

  Result<List<Todo>> listTodos();

  Result<List<Todo>> addTodo(String task);

  Result deleteTodo(Long id);

  Result changeTodo(Todo todo);

}
